package com.yf.dao.article;

import com.yf.dao.BaseDao;
import com.yf.entity.CampaignEntity;
import com.yf.vo.CampaignBackVo;

import java.util.List;

import java.util.Map;

/**
 * 活动Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Aug 22 14:30:08 CST 2018
 */
public interface CampaignDao extends BaseDao<CampaignEntity> {

    /**
     *  back 根据活动名称查询当前活动的参与人
     */
    List<CampaignBackVo> campaignList();

    List<CampaignEntity> getCampaigns();

    /**
     * back 活动参与者信息
     * @return
     */
    List<CampaignBackVo> campaignVoList(Map<String, Object> params);

}
